home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 3: Developer Tools
/
Linux Cubed Series 3 - Developer Tools.iso
/
devel
/
make
/
icmake-6.000
/
icmake-6
/
icmake
/
comp
/
struprlw.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-02-08
|
646 b
|
30 lines
/*
S T R U P R L W . C
*/
#include "iccomp.h"
ESTRUC_ *strupr_lwr(E_TYPE_ type, ESTRUC_ *arg)
{
etoc(arg); /* arg to stack */
/* test type of argument */
if (!test_type(arg, e_str))
{
semantic(type_conflict, funstring[type]);
return (arg);
}
callhidden /* call a hidden function */
(
type == f_strlwr ?
he_strlwr
:
he_strupr,
arg
);
return (arg); /* return called function code */
}